using System;

namespace OST.Shared.SharedTypes
{
    /// <summary>
    /// represents an TrackingAction, with target-sun-position and related motor-target-stroke
    /// </summary>
    public class TrackingAction
    {
        #region Properties
        /// <summary>
        /// the (target-) sun position
        /// </summary>
        public SunPosition Sunposition { get; set; }

        /// <summary>
        /// the motor-target-stroke, in mm
        /// </summary>
        public int MotorTarget { get; set; } 
        #endregion

        #region Methods
        public override string ToString()
        {
            return Sunposition + " | Target = " + MotorTarget + " mm";
        } 
        #endregion
    }
}
